package com.tianya.domain.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum OrderStatus {
    UNPAID(1, "待支付"),
    PAID(2, "已支付"),
    CANCELLED(3, "已取消"),
    REFUNDED(4, "已退款");
    @EnumValue
    private Integer code;
    private String message;
    OrderStatus(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}